package com.print;

/**
 * 标签文本
 * 
 * @author C1009605
 * 
 */
public class Text extends Item {

	/** 字体名称 */
	private String fontName;
	/** 字体样式 */
	private int fontStyle;
	/** 字体大小 */
	private double fontSize;
	/** 文本 */
	private String text;

	public String getFontName() {
		return fontName;
	}

	public void setFontName(String fontName) {
		this.fontName = fontName;
	}

	public int getFontStyle() {
		return fontStyle;
	}

	public void setFontStyle(int fontStyle) {
		this.fontStyle = fontStyle;
	}

	public double getFontSize() {
		return fontSize;
	}

	public void setFontSize(double fontSize) {
		this.fontSize = fontSize;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public Text() {
	}

	public Text(double x, double y, String fontName, int fontStyle,
			double fontSize, String text) {
		super(x, y);
		this.fontName = fontName;
		this.fontStyle = fontStyle;
		this.fontSize = fontSize;
		this.text = text;
	}

}
